package com.gxa.park.core.pojo.domain;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * <p>
 * 
 * </p>
 *
 * @author mincheung
 * @since 2022-07-18
 */
@TableName("tb_order")
@ApiModel(value = "Order对象", description = "")
@Data
@AllArgsConstructor
@NoArgsConstructor
public class Order implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty("主键自增id")
      @TableId(value = "order_id", type = IdType.AUTO)
    private Integer orderId;

    @ApiModelProperty("订单编号")
    @TableField("order_number")
    private String orderNumber;

    @ApiModelProperty("车牌号码")
    @TableField("order_car_plate")
    private String orderCarPlate;

    @ApiModelProperty("外键id  所属路段")
    @TableField("order_street")
    private Integer orderStreet;

    @ApiModelProperty("泊位编号")
    @TableField("order_park_number")
    private String orderParkNumber;

    @ApiModelProperty("巡检员")
    @TableField("order_inspector")
    private String orderInspector;

    @ApiModelProperty("订单金额")
    @TableField("order_money")
    private String orderMoney;

    @ApiModelProperty("订单状态 1、进行中 2、待缴费 3、已缴费 4、已完成 5、已退款6、异常订单")
    @TableField("order_status")
    private Integer orderStatus;



}
